Skip to content

Conversation

cacieprins
Copy link
Contributor

Updated documentation for cypress-io/cypress#32635.

This converts the existing narrative-based documentation of Cypress' exit codes to a more comprehensive reference table, comparing both default and POSIX behavior in different scenarios. It also adds references to the 112 exit code that will be used when a --record or --parallel run cannot communicate with the Cypress Cloud API due to network level errors.

Copy link

cypress bot commented Oct 7, 2025

cypress-documentation    Run #716

Run Properties:  status check passed Passed #716  •  git commit b7602797a9: Update changelog.mdx
Project cypress-documentation
Branch Review docs/exit-112-network-err
Run status status check passed Passed #716
Run duration 04m 36s
Commit git commit b7602797a9: Update changelog.mdx
Committer Cacie Prins
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 310
View all changes introduced in this branch ↗︎
UI Coverage  10.75%
  Untested elements 2518  
  Tested elements 3  
Accessibility  97.21%
  Failed rules  1 critical   3 serious   4 moderate   0 minor
  Failed elements 28  

@cacieprins cacieprins changed the base branch from release/15.4.0 to main October 8, 2025 13:10
@cacieprins cacieprins force-pushed the docs/exit-112-network-err branch from e934209 to 2b0bd11 Compare October 8, 2025 13:12
@cacieprins cacieprins changed the base branch from main to release/15.5.0 October 8, 2025 13:13
Comment on lines +15 to +17
**Features:**

- When the `run` command requires successful negotiation with the Cypress Cloud API and the `--posix-exit-codes` flag is set, Cypress will now exit with code `112` when it cannot determine which spec to run next due to network conditions. These Cloud API negotiations are required when either `--record` or `--parallel` flags are set. Addresses [#32485](https://github.com/cypress-io/cypress/issues/32485). Addressed in [#32635](https://github.com/cypress-io/cypress/pull/32635).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The text should probably come out of PR cypress-io/cypress#32635 otherwise it is unclear where the definitive text for the release notes is supposed to be reviewed.

| [4.9.0](/app/references/changelog) | Added `--quiet` flag to `cypress run` |
| Version | Changes |
| ------------------------------------------ | -------------------------------------------------------------------------------------------------------- |
| [15.5.0](/app/references/changelog#15-5-0) | Modified exit code documentations from narrative to a reference table, adding the 112 exit code scenario |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally the history table is used to document the changes to Cypress, rather than the changes to the documentation. So here the change would be something like
"Added POSIX exit code 112 for Cypress Cloud network failure"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants